package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitSelectResearchRouter(Router *gin.RouterGroup) {
	SelectResearchRouter := Router.Group("selectResearch").Use(middleware.OperationRecord())
	{
		SelectResearchRouter.POST("createSelectResearch", v1.CreateSelectResearch)   // 新建SelectResearch
		SelectResearchRouter.DELETE("deleteSelectResearch", v1.DeleteSelectResearch) // 删除SelectResearch
		SelectResearchRouter.DELETE("deleteSelectResearchByIds", v1.DeleteSelectResearchByIds) // 批量删除SelectResearch
		SelectResearchRouter.PUT("updateSelectResearch", v1.UpdateSelectResearch)    // 更新SelectResearch
		SelectResearchRouter.GET("findSelectResearch", v1.FindSelectResearch)        // 根据ID获取SelectResearch
		SelectResearchRouter.GET("getSelectResearchList", v1.GetSelectResearchList)  // 获取SelectResearch列表
	}
}
